package com.ytc.teaching.controller;


import com.ytc.commons.model.dto.PageRequest;
import com.ytc.commons.model.dto.WorkDto;
import com.ytc.commons.model.vo.ResponseResult;
import com.ytc.commons.model.vo.WorkVo;
import com.ytc.commons.utils.BeanHelper;
import com.ytc.teaching.domain.Work;
import com.ytc.teaching.service.WorkRecordService;
import com.ytc.teaching.service.WorkService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
public class WorkRecordController {

    @Autowired
    private WorkRecordService workRecordService;

    @PostMapping("/workpage/teachplan")
    public ResponseResult teachplan(PageRequest request){
        return workRecordService.teachplan(request);
    }

}
